package com.general.framework.example.interval;

import org.json.JSONObject;

import java.util.HashMap;
import java.util.Map;

public class SendRequest {
    private static String url="https://vue.ruoyi.vip/prod-api/captchaImage";
    public static Map<String,String> sendGet(){
        String s = HttpUtils.sendGet(url);
        JSONObject jsonObj = new JSONObject(s);
        String msg = (String) jsonObj.get("msg");
        HashMap<String, String> map = new HashMap<>();
        map.put("response",msg);
        return map;
    }
}
